function n = numel(obj)
% transio::numel  - return the number of underlying elements
%
% FORMAT:       N = numel(tio)
%
% Input fields:
%
%       tio         transio object
%
% Output fields:
%
%       N           number of elements

% Version:  v0.7g
% Build:    9101516
% Date:     Oct-15 2009, 4:55 PM CEST
% Author:   Jochen Weber, SCAN Unit, Columbia University, NYC, NY, USA
% URL/Info: http://wiki.brainvoyager.com/BVQXtools

% return number of elements
n = prod(obj.DataDims);
